// type Person = {
//   name: string
//   age: number
// }
// type p = Partial<Person>
// let per: p = {
//   name: '小三'
// }
type Person = {
  name: string
  age: number
  text: string
  sex: boolean
}
type Ex = "name" | "sex"
type A = Pick<Person, Ex>